// @import 导入的意思 可以把一个样式文件导入到另外一个样式文件里面
@import "common";
*{
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
}
body{
    min-width: 6.4rem;
    width: 15rem;
    // height: 30rem;
    margin: 0 auto;
    line-height: 1.5;
    background-color: #f2f2f2;
}
.search-content{
    width: 15rem;
    height: 1.76rem;
    background-color: #ffc001;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    .classify{
         width: 0.88rem;
         height: 1.4rem;
        //  border: 1px solid;
         margin: 0.22rem 0.5rem 0.14rem 0.48rem;
         background: url(../icons/157199320847433454.png);
         background-size: 0.88rem 1.4rem;
    }
    .search{
        flex: 1;
        // border: 1px solid;
    
        input{
            outline: none;
            font-size: 0.5rem;
            padding-left: 1.1rem;
            width: 100%;
            height: 1.32rem;
            color: #757575;
            border-radius: 0.66rem;          
            background-color: #fff2cc;
            border: 0;
            margin-top: 0.24rem;
        }
    }
    .login{
        width: 0.88rem;
        height: 1.4rem;
        // border: 1px solid;
        margin: 0.22rem 0.5rem 0.14rem 0.48rem;
        background: url(../icons/157199321817918653.png);
        background-size: 0.88rem 1.4rem;
    }
 
}

.banner{
    width: 15rem;
    height: 7.36rem;
    margin-top: 1.76rem;
    .swiper-container {
        width: 100%;
        height: 100%;
      }
      
      .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;
      
        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
        img{
            width: 100%;
            height: 100%;
        }
      }
}

.ad{
    display: flex;
    a{
        flex: 1;

        img{
            width: 100%;
            height: 100%;
        }
    }
}

nav{
    width: 15rem;
    height: 6.4rem;
    a{
        width: 3rem;
        height: 2.8rem;
        float: left;
        text-align: center;
        img{
            width: 1.68rem;
            height: 1.68rem;
            margin: 0.2rem auto -0.5rem;
            padding: 0px;
        }
        span{
            font-size: 0.5rem;
            color: #666;
        }
        
    }
}

.newImgFloor{
    width: 15rem;
    height: 4.68rem;
    display: flex;
    margin-bottom: 0.4rem;
    // background-color: red;
    margin-bottom: 2.5rem;
    a{
       img{
           width: 100%;
           height: 100%;
       }
    }
    .newItem1{
        flex: 2;
    }
    .newItem2 , .newItem3{
        flex: 1;
    }
}

.button{
    width: 15rem;
    height: 2rem;
    position: fixed;
    bottom: 0px;
    display: flex;
    background-color:#f2f2f2;
    a{
        flex: 1;
       img{
           width: .96rem;
           height: .96rem;
           margin: 0.1rem auto 0;
       }
       span{
           font-size: 0.4rem;
           color: #666;
           display: block;
           text-align: center;

       }
    }
}